<template>  
    <div>
        <div>
            {{msg}}
        </div>
        <div>
            <router-link to="login">登录</router-link>
        </div>
        <div> 
            <router-link to="register">注册</router-link>
        </div>
        <router-view></router-view>
    </div>
</template>
<script>
    export default{
        data(){
            return {
                msg:'呵呵',
            }
        },
    }
</script>